export interface Config {
    nestConfig: NestConfig;
    corsConfig: CorsConfig;
    swaggerConfig: SwaggerConfig;
    securityConfig: SecurityConfig;
    uploadConfig: uploadConfig;
    logger: loggerConfig;
    redis: RedisConfig;
}

export interface NestConfig {
    port: number;
    env: string;
    host: string;
}

export interface CorsConfig {
    enabled: boolean;
}

export interface SwaggerConfig {
    enabled: boolean;
    title: string;
    description: string;
    version: string;
    path: string;
}


export interface SecurityConfig {
    expiresIn: string;
    refreshIn: string;
    bcryptSaltOrRound: string | number;
}

export interface uploadConfig {
    path: string;
}

export interface loggerConfig {
    level: string;
    maxFiles: number;
}

export interface RedisConfig {
    host: string;
    port: string;
    password: string;
    db: number;
}
